const routeName = 'resourceApply';
/**
 * @param name 路由名称, 必须设置,且不能重名
 * @param meta 路由元信息（路由附带扩展信息）
 * @param redirect 重定向地址, 访问这个路由时,自定进行重定向
 * @param meta.hideChildrenInMenu 菜单子集
 * @param meta.title 菜单名称
 * @param meta.icon 菜单图标
 * @param meta.keepAlive 缓存该路由
 *
 * */
export default {
	path: '/resource-apply',
	name: routeName,
	meta: {
		title: '资源审核'
	},
	redirect: '/resource-apply/findListWithVideo',
	component: () => import('@/components/EmptyRouterView'),
	children: [
		{
			path: 'findListWithAdmin',
			name: `${routeName}_findListWithAdmin`,
			meta: {
				title: '查询审核列表-管理员'
			},
			component: () => import('@/pages/resource-apply/index')
		},
		{
			path: 'findListWithVideo',
			name: `${routeName}_findListWithVideo`,
			meta: {
				title: '查询审核列表-视频专员'
			},
			component: () => import('@/pages/resource-apply/index')
		},
		{
			path: 'findListWithPerson',
			name: `${routeName}_findListWithPerson`,
			meta: {
				title: '查询审核列表-指定人(程燕)'
			},
			component: () => import('@/pages/resource-apply/index')
		},
		{
			path: 'findListWithCC',
			name: `${routeName}_findListWithCC`,
			meta: {
				title: '查询审核列表-抄送人(李佳霓)'
			},
			component: () => import('@/pages/resource-apply/index')
		},
		{
			path: 'findDetail',
			name: `${routeName}_findDetail`,
			meta: {
				title: '详情'
			},
			component: () => import('@/pages/resource-apply/components/detail')
		},
		{
			path: 'detailApplyVideo',
			name: `${routeName}_detailApplyVideo`,
			meta: {
				title: '审核详情-视频专员'
			},
			component: () => import('@/pages/resource-apply/components/detail')
		},
		{
			path: 'detailApplyPerson',
			name: `${routeName}_detailApplyPerson`,
			meta: {
				title: '审核详情-指定人'
			},
			component: () => import('@/pages/resource-apply/components/detail')
		}
	]
};
